/*
day152
2020.1.27
*/
#include<iostream>
#include<vector>
#include<unordered_map>
using namespace std;

class Solution {
public:
    int repeatedNTimes(vector<int>& A) 
	{
        unordered_map<int,int> m;
        for(auto &a : A)
        {
        	if(m[a]==1)	return a;
        	else	m[a]=1;
		}
		return 1;
    }
};

int main()
{
	return 0;
}
